<?php echo form_open('cancellazione/cancella_docente');?>
<input type="text" name="cf" value="" placeholder="inserisci codice fiscale"/>
<?php echo '<b>Codice fiscale docente da cancellare<br/>';
echo '<div><input type="submit" value="Cancella!" /></div>';
print '<table border=1, caption=docenti>';
echo '<tr><td><h3><b>Codice fiscale</h3></td><td><h3><b>COGNOME</h3></td><td><h3><b>NOME</h3></td><tr/>';
foreach($docente as $d):
echo '<tr><td>'.$d['cf'].'</td><td>'.$d['cognome'].'
				</td><td>'.$d['nome'].'</td><tr/>';

endforeach;
print '</table>';
echo form_close(); ?>